﻿using DesignPatterns.Factory.Interface;
using DesignPatterns.Factory.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DesignPatterns.Factory.ImpService
{
    public class AppleFactory : IFruitFactory
    {
        public Fruit CreateFruit()
        {
            return new Apple("apple",22,"green");
        }
    }
}
